-
-
Notifications
You must be signed in to change notification settings - Fork 34.1k
gh-106318: Add examples for str.partition() method #142823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
StanFromIreland
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest adding a third example, one that shows what happens when there are multiple of sep in the string.
Done. |
|
Thanks @adorilson for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
|
Thanks @adorilson for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
|
Thanks @adorilson for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
…2823) (cherry picked from commit 432ddd9) Co-authored-by: Adorilson Bezerra <[email protected]>
…2823) (cherry picked from commit 432ddd9) Co-authored-by: Adorilson Bezerra <[email protected]>
…2823) (cherry picked from commit 432ddd9) Co-authored-by: Adorilson Bezerra <[email protected]>
|
GH-144611 is a backport of this pull request to the 3.14 branch. |
|
GH-144612 is a backport of this pull request to the 3.13 branch. |
This comment was marked as outdated.
This comment was marked as outdated.
…2823) (cherry picked from commit 432ddd9) Co-authored-by: Adorilson Bezerra <[email protected]>
WIP to #106318
#106318: Add examples for str.partition() method
📚 Documentation preview 📚: https://cpython-previews--142823.org.readthedocs.build/